import request from '@/sheep/request';

export default {
  // 获取企业信息
    index: (params) =>
      request({
        url: `app_api.php?t=company_user&s=company&op=user`,
        method: 'POST',
        data: params
    }),
    add:(params) =>
        request({
            url: `app_api.php?t=company_user&s=company&op=user_edit_form`,
            method: 'POST',
            data: params
        }),
    delete: (params) =>
      request({
        url: `app_api.php?t=company_user&s=company&op=user_del`,
        method: 'POST',
        data: params
    }),
};